import * as React from 'react';
import { withRouter,RouteComponentProps } from 'react-router';
import { withAuth } from 'api/Auth';
import {connect} from 'react-redux';
export interface IHomeProps extends RouteComponentProps{
}

export interface IHomeState {
}

class Home extends React.Component<IHomeProps, IHomeState> {
  constructor(props: IHomeProps) {
    super(props);

    this.state = {
    }
  }

  public render() {
    return (
      <div>
         home
      </div>
    );
  }
}

const mapStateToProps=(state:any)=>{
  return {}
}

const mapDispatchToProps={}
const WithConnect  = connect(mapStateToProps,mapDispatchToProps)(Home)
export default withRouter(withAuth(WithConnect))
